﻿using BCCommon.Enums.Driver;
using BCCommon.Extensions;
using BCCommon.TMS.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.KanBan.AgentKanBan
{
    /// <summary>
    /// 司机动态详情信息
    /// </summary>
    public class DriverDynamicDetailDto
    {
        /// <summary>
        /// 司机Id
        /// </summary>
        public long DriverId { get; set; }

        /// <summary>
        /// 司机姓名
        /// </summary>
        public string DriverName { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public DriverRoleType Role { get; set; }

        /// <summary>
        /// 角色类型
        /// </summary>
        public string RoleStr { get { return this.Role.GetDescriptionString(); } }

        /// <summary>
        /// 工作状态
        /// </summary>
        public DriverWorkingStatus WorkingStatus { get; set; }

        /// <summary>
        /// 日均单数（最近30天完成订单数/30）
        /// </summary>
        public int AverageDailySingular { get; set; }
    }
}
